package com.bbs.vo;

import java.util.HashSet;
import java.util.Set;

public class User implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String pwd;
	private String realname;
	private Set<Bbs> bbses = new HashSet<Bbs>(0);

	public User() {
	}

	public User(String name, String pwd) {
		this.name = name;
		this.pwd = pwd;
	}

	public User(String name, String pwd, String realname, Set<Bbs> bbses) {
		this.name = name;
		this.pwd = pwd;
		this.realname = realname;
		this.bbses = bbses;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Set<Bbs> getBbses() {
		return this.bbses;
	}

	public void setBbses(Set<Bbs> bbses) {
		this.bbses = bbses;
	}

}
